package sing.sleuth.provider;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author xing
 * @date 2022/8/23 17:28
 */
@SpringBootApplication
@RestController
@Slf4j
public class SleuthProviderApplication {


    @GetMapping("/zipkin")
    public String zipkin() {
        log.warn("hello world!");
        return "in zipkin";
    }

    public static void main(String[] args) {
        SpringApplication.run(SleuthProviderApplication.class, args);
    }
}
